﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace SYSoft.Model.Models.DeviceManage.Maintain
{


    /// <summary>
    //
    /// </summary>
    [SqlSugar.SugarTable("wh_tasks_data")]
    public class WH_Data
    {
        /// <summary>
        /// ID  自增的主键一定要加IsIdentity特性 防止插入失败
        /// </summary>
        [SugarColumn(IsNullable = false, IsPrimaryKey = true)]
        public int Id { get; set; }


        public int LibId { get; set; }
        /// <summary>
        /// 设备ID
        /// </summary>
        public int DeviceId { get; set; }

        /// <summary>
        /// 设备名称
        /// </summary>
        public string DeviceName { get; set; }



        /// <summary>
        /// 任务名称
        /// </summary>
        public string TaskName { get; set; }



        /// <summary>
        /// 任务内容
        /// </summary>
        public string TaskContent { get; set; }


        /// <summary>
        /// 计划时间
        /// </summary>
        public DateTime PlanTime { get; set; }



        /// <summary>
        /// 标志位   0 新任务未执行   1.开始执行(等待维护的任务)   2 任务已完成   10 任务异常  20 异常已修复
        /// </summary>
        public int Flag { get; set; }



        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 
        /// </summary>
        public string PeopleName { get; set; }

        public string BeiZhu { get; set; }


        /// <summary>
        /// 完成时间
        /// </summary>
        public DateTime FinishTime { get; set; }

    }
}
